Chr (x)

Basic and Crystal syntax.

Arguments

x is a whole number, specifically, it is any ASCII value.

Returns

Text String (one character long)

Action

The Chr (x) function returns the single character text string associated with the ASCII value passed as x.

Typical uses

Use this function any time you need to obtain the character associated with a particular ASCII value. This function is most useful for application developers using the Report Engine.

Examples

The following example is applicable to both Basic and Crystal syntax:

Chr(65)

Returns "A".

Comments

This function is designed to work like the Visual Basic function of the same name.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com